import Vue from 'vue';
import Vuex from 'vuex';
import user from '@/store/modules/user';
import purchase from '@/store/modules/purchase';
import common from '@/store/modules/common';
import getters from './getters';

Vue.use(Vuex);

const store = new Vuex.Store({
	modules: {
		user,
		purchase,
		common,
	},
	getters,
});

export default store;
